<?php
namespace Common\Model;
use Think\Model\ViewModel;
class ResellerordersViewModel extends ViewModel{
   public $viewFields = array(
     'affiliateOrder'=>array('_table'=>'__AFFILIATE_ORDER__'.YEAR,),
	 'Orders'=>array('_table'=>'__ORDERS__'.YEAR,'_on'=>"affiliateOrder.order_id=Orders.order_id"),
   );
}
?>